﻿<controls:ChildWindow xmlns:my1="clr-namespace:VAdvantage.Controls"  xmlns:my="clr-namespace:VAdvantage.Install"  x:Class="VAdvantage.Framework.Message"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" Title="Message" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" Loaded="ChildWindow_Loaded"  mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
           Height="205" Width="446" HorizontalAlignment="Center" BorderThickness="0" Style="{StaticResource MessageChildWindow}">
   
    <Border Name="LayoutBorder" CornerRadius="4" BorderThickness="1" Background="White" BorderBrush="White">
    <Grid x:Name="LayoutRoot" Margin="3">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="69" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
            <my1:VLabel x:Name="vlblMessage" Grid.ColumnSpan="2" VerticalAlignment="Top"  HorizontalAlignment="Stretch" FontSize="14"  Content="Message" Margin="8,0,5,0" ></my1:VLabel>
                <!--<sdk:Label Grid.Column="1" Name="vlblMessageText" Content="Message"    />-->
            <ScrollViewer Grid.Column="1" Grid.Row="1" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" BorderThickness="0" Margin="5" BorderBrush="Transparent" >
                <TextBlock Padding="2" Name="vlblMessageText" Text="Message" TextWrapping="Wrap" TextAlignment="Left" Margin="0"  VerticalAlignment="Stretch" HorizontalAlignment="Stretch"></TextBlock>
            </ScrollViewer>
            <Button Name="btnCancel" Grid.Column="1" Grid.Row="2" Width="35" Height="35" HorizontalAlignment="Right" Margin="0,0,45,5" Click="btnCancel_Click">
            <Image Name="ibtnCancel" Stretch="Fill" Source="/VAdvantage;component/Images/cancel_up.png" />
        </Button>
        <!--<my1:ToolBarButton x:Name="btnCancel" Grid.Column="1" Grid.Row="1" Width="85" Height="35" Icon="/VAdvantage;component/Images/Ok16.png" IconMargin="15,0,3,0" BackgroundImage="/VAdvantage;component/Images/ButtonBackGround.png" Text="Ok" HorizontalAlignment="Right" Margin="0,0,95,5" Click="btnOk_Click" ></my1:ToolBarButton>-->
        <Button Name="btnOk" Grid.Column="1" Grid.Row="2" Width="35" Height="35" HorizontalAlignment="Right"  Margin="0,0,5,5" Click="btnOk_Click">
            <Image Name="ibtnOk" Stretch="Fill" Source="/VAdvantage;component/Images/right_up.png" />
        </Button>
        <!--<my1:ToolBarButton x:Name="btnOk" Grid.Column="1" Grid.Row="1" Width="85" Height="35" HorizontalAlignment="Right"  Margin="0,0,5,5" Click="btnCancel_Click" Icon="/VAdvantage;component/Images/cross16.png" IconMargin="15,0,3,0" BackgroundImage="/VAdvantage;component/Images/ButtonBackGround.png" Text="Cancel" ></my1:ToolBarButton>-->

        <!--<Image Height="37" HorizontalAlignment="Right" Margin="0,10,14,0" Name="pbIcon" Source="/VAdvantage;component/Images/Question32.PNG" Stretch="Fill" VerticalAlignment="Center" Width="45" />-->
        <Image Height="50" Grid.Row="1" HorizontalAlignment="Left" Margin="8" Name="pbIcon" Source="/VAdvantage;component/Images/Ask32.PNG" Stretch="Fill" VerticalAlignment="Center" Width="50" />
    </Grid>
    </Border>
</controls:ChildWindow>